<head>Calculator!</head>
<!--THIS IS A COMMENT-->
<hr>
<br>
<title>Calculator</title>
<body>
<script type="text/javascript">
	function multi(firstnum, secondnum){
		ans = firstnum*secondnum;
		return ans;
	}
//Calculator
	var oper = prompt("Please enter the operation.");
	var num1 = prompt("Please enter your first number.");
	var num2 = prompt("Please enter your second number.");
	if ((oper=="multiplication")||(oper=="*")){
		alert(multi(num1,num2));
	}
	else if ((oper=="addition")||(oper=="+")){
		document.write(num1, "+", num2, "=", num1+num2);
	}
	else if ((oper=="subtraction")||(oper=="-")){
		document.write(num1, "-", num2, "=", num1-num2);
	}
	else if ((oper=="division")||(oper=="/")){
		document.write(num1, "/", num2, "=", num1/num2);
	}
</script>
</body>
